<form method="post" action="" id="tbl_base_userForm">
<table align="center" class="table2">
	<tr><td colspan='3'>
	{$error}
	</td></tr>
	<tr>
		<th align="right">
			用户名:
		</th>
		<td width="330px">
			<input type="text" id="txt_username" name="txt_username" />
		</td>
		<td>
			<div id="txt_username_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			密码:
		</th>
		<td>
			<input type="password" id="txt_password" name="txt_password" />
		</td>
		<td>
			<div id="txt_password_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			确认密码:
		</th>
		<td>
			<input type="password" id="txt_password_re" name="txt_password_re" />
		</td>
		<td>
			<div id="txt_password_re_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			真实姓名:
		</th>
		<td>
			<input type="text" id="txt_realname" name="txt_realname" />
		</td>
		<td>
			<div id="txt_realname_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			所属角色:
		</th>
		
		<td>
			{foreach from=$roleList item=v key=k}
		      <input type="radio" name="roleid[]" value="{$v.role_id}" />{$v.role_name}&nbsp;&nbsp;
		    {/foreach}
		</td>
		<td>
			<div id="txt_role_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			管理社区:
		</th>
		<td>
			<select style="width:100px;" name="sel_province" id="sel_province">
	        </select>
         	<select style="width:100px;" name="sel_city" id="sel_city">
              	<option value="">市</option>
          	</select>
            <select style="width:100px;" name="sel_area" id="sel_area">
                <option value="">区/县</option>
            </select> 
			
        	<div id="divCommunity" style="margin:5px;"></div>
		</td>
		<td>
			<div id="txt_community_id_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			联系电话:
		</th>
		<td>
			<input type="text" id="txt_phone" name="txt_phone" />
		</td>
		<td>
		</td>
	</tr>
	<tr>
		<th align="right">
			常用邮箱:
		</th>
		<td>
			<input type="text" id="txt_email" name="txt_email" />
		</td>
		<td>
		</td>
	</tr>
	<tr>
		<th align="right">
			qq:
		</th>
		<td>
			<input type="text" id="txt_qq" name="txt_qq" />
		</td>
		<td>
		</td>
	</tr>
	<tr>
		<th align="right">
			备注:
		</th>
		<td>
			<textarea id="txt_remark" style="width:250px; height:80px;" name="txt_remark"></textarea>
		</td>
		<td>
		</td>
	</tr>
	<tr>
		<th></th>
		<td colspan="2">
		<div style="margin-right:10px;" class="left"><a class="buttonStyle" onclick="{literal}if($.formValidator.pageIsValid()){document.getElementById('tbl_base_userForm').submit();}{/literal}"><span></span>添加</a></div>
    	<div class="left"><a class="buttonStyle" href="{$manageDomain}userManage/show/"><span></span>返回</a></div>
			
		</td>
	</tr>
</table>
</form>
